package ar.com.jwa.domain;

public enum State {
	
	TO_CONFIRM(1), CONFIRMED(2), PLAYED(3), SUSPENDED(4);

	private int cc;

	State(){
		
	}
	
	State(int cc) {
		this.cc = cc;
	}

	public int getNext() {
		return cc + 1;
	}

	/**
	 * @return the cc
	 */
	public int getCc() {
		return cc;
	}

	/**
	 * @param cc the cc to set
	 */
	public void setCc(int cc) {
		this.cc = cc;
	}
}
